package com.sundablog.dip;

import com.sun.rowset.internal.WebRowSetXmlReader;
import com.sundablog.dip.impl.TencentQQLoginServiceImpl;
import com.sundablog.dip.impl.WeiBoLoginServiceImpl;

/**
 * 用户登入
 */
public class User {

    private ILoginService iLoginService;

    public void setiLoginService(ILoginService iLoginService) {
        this.iLoginService = iLoginService;
    }

    public void login(String username, String password){
        iLoginService.login(username, password);
    }


}
